package com.lanhe.member.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lanhe.common.core.domain.entity.LhMemberBase;
import com.lanhe.common.core.domain.entity.dto.MemberMoneyStatisticsDto;
import com.lanhe.member.domain.dto.BindingMemberBaseDTO;

import java.util.List;

/**
 * 会员基础表(LhMemberBase)表数据库访问层
 *
 * @author zhanggl
 * @since 2023-12-04 17:01:15
 */
public interface LhMemberBaseMapper extends BaseMapper<LhMemberBase> {

    List<LhMemberBase> selectLhMemberBaseList(LhMemberBase lhMemberBase);

    // 老师批量绑定学生
    int bindingMemberBase(BindingMemberBaseDTO bindingMemberBaseDTO);
    // 总额，待提现，已提现， 总注册量
    MemberMoneyStatisticsDto selectMemberMoneyStat();
    // 今日注册量
    Long selectMemberEnrollToday();
    // 本月注册量
    Long selectMemberEnrollMonth();


}

